<?php
return array(
	'defaultScope' => array(
		'condition' => 'type NOT LIKE "zjy_%"',
	),
	'attributeLabels' => array(
		'create_time' => '创建时间',
		'selectTime' => '创建时间',
		'link' => '链接',
		'target' => '打开方式',
	),	
	
	'rules'=>array(
		array('type,link,target', 'required'),
		array('link','url'),
	),
	
	'tableName' => 'ad',
	
	'behaviors' => array(
		'fornt' => array(
			'class' => 'coms.behaviors.FrontBehavior',
			'attributes' => array(
				'title' => 'title',
				'img' => 'thumb'
			),
		),
	),
	
	'_import' => array(
		array('*', 'models.ContentBase//*'),
	),
);